function submitlogin()
{
  alert(2);
  if (document.getElementById("errormsg_0_WrongPasswd").style.display=="none")
  {
    document.getElementById("errormsg_0_WrongPasswd").style.display="inline";
    //sleep(1000);
    return false;
  }
  else
  {
    strurl=document.getElementById("checkedDomains").value;
    window.location.href=strurl;
    sleep(2000);
    return true;
  }
}